package com.lfk.justweengine.engine;

import ohos.aafwk.ability.Ability;
import ohos.agp.render.Canvas;
import ohos.agp.utils.RectFloat;
import ohos.bundle.AbilityInfo;

/**
 * Created by liufengkai on 16/5/8.
 */
public abstract class Engine extends Ability {

    public enum ScreenMode {
        LANDSCAPE(AbilityInfo.DisplayOrientation.LANDSCAPE),
        PORTRAIT(AbilityInfo.DisplayOrientation.PORTRAIT);
        public AbilityInfo.DisplayOrientation value;

        ScreenMode(AbilityInfo.DisplayOrientation mode) {
            this.value = mode;
        }
    }

    protected boolean isOpenDebug;

//    public abstract Canvas getCanvas();

    public abstract void debugDraw(RectFloat bound);
}
